/*@ File Name : grass.h
  @ Date : 18/11/2011
  @ Author : Guillaume Collombet, Ulysse Mensa, Sylvain Chambe

Fireworks simulation projet
Copyright (C) 2011 Guillaume Collombet, Ulysse Mensa, Sylvain Chambe

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

You can contact us by sending mail at fireworks-simulation-project@googlecode.com*/

#if !defined(_GRASS_H)
#define _GRASS_H

#include "const.h"
#include "color.h"
#include "opengl.h"
#include "texture.h"
#include "sprite.h"
#include "camera.h"
#include "vector3.h"

enum e_GRASS_TYPE
{
	GRASS_TYPE_DESERT_1,
	GRASS_TYPE_DESERT_2,
	GRASS_TYPE_DESERT_3,
	GRASS_TYPE_DESERT_4,
	GRASS_TYPE_DESERT_5
} typedef GRASS_TYPE;

static GLuint textureId[5] = {0,0,0,0,0};

struct s_Grass {
	Vector3f position;
	Vector3f normal;
	Sprite* sprite;
	GRASS_TYPE type;
} typedef Grass; 

void Grass_Init(Grass* grass, Vector3f position, Vector3f normal, GRASS_TYPE type);
void Grass_Draw(Grass* grass, const Camera* camera);
void Grass_Destroy(Grass* grass);

#endif /* _GRASS_H */